$('.right-titleicon').on("click",function(e){
	projectVM.showMenulist()
})
			
		projectVM = new Vue({
			el: "#content",
			data: {
				showMenu:false,
				menuList:[
					{name:'借用',path:'borrow.html'},{name:'归还',path:'return.html'},{name:'列表',path:'index.html'},{name:'我值班'},
				],
			},
			created: function() {},
			methods: {
			
				//跳转页面
				navTo(e){
					mui.openWindow({
            			url: e,
            			id: e,
						extras: {},
					waiting: {
					autoShow: false
					}
        			});
				},
				//点击菜单
				menuClick(e){
					if(e.name == '我值班'){
						this.onStatus? this.onStatus= false : this.onStatus=true
					}
					else{
						this.navTo(e.path)
					}
				},
				//左上角菜单显示隐藏
				showMenulist(){
					this.showMenu?this.showMenu=false:this.showMenu=true
				},
			navTo(e){
				mui.openWindow({
            			url: e,
            			id: e,
        		});
				},
				goBack(){
					mui.back()
				}
				},
			
			})
	
		

	